vcStatementHelper

Helper class that contains functions to get active scope and routine.

See in: Overview

Module: vcRobotics

Parent: -

Children -

Referenced by: -

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
GetActiveRoutinevcRoutineNoneGets the active routine based on the selected objects in vcSelectionManager.

Returns:
vcRoutine: The active routine. Can be None.
GetActiveScopevcScopeNoneGets the active statement scope based on the selected objects in vcSelectionManager.

Returns:
vcScope: The active statement scope. Can be None.
GetActiveStatementvcStatementNoneGets the active statement within the active scope.

Returns:
vcScope: Statement scope. Can be None.
GetActiveStatementIndexIntegerNoneGets the statement insertion index within the active scope.
See more
Returns:
int: Active statement index within the active scope. -1 if there is no active statement.